<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Untitled Document</title>
</head>

<body>
<h2 align="center">Configuration file format </h2>
<p>&lt;Parameters&gt; - The section for client's settings. Contains a list of &lt;parameter&gt;:</p>
<p> &lt;parameter&gt; - Sets the parameter. Attributes: name, value.</p>
<blockquote>
  <p>name: type - How to send the data. Possible values: &quot;real-time&quot;,&quot;batch&quot;,&quot;load-test&quot;.<br />
    name: interval - Interval of sending the data (in ms). Value - positive integer number. <br />
    name: log - The name of the log file. <br />
    name: description - The description of the data. <br />
    name: start_time - The start time of traffic simulation (in order to simulate a certain period of traffic time). TraffoSim client will generate TraffoPacket starting from this time point. <br />
    name: end_time - The end time of traffic simulation (in order to simulate a certain period of traffic time). TraffoSim client will generate TraffoPacket ending at this time point. </p>
</blockquote>
<p>&lt;Data&gt; - The section of traffic data. Contains a list of &lt;packet&gt;.</p>
<blockquote>
  <p>attribute: vehicles - Number of vehicles in the data.<br />
  attribute: description - Description of the traffic data. </p>
</blockquote>
<p>&lt;packet&gt; - contains a singe traffic data unit.</p>
<blockquote>
  <p>attribute: vehicle - a vehicle type. Possible values:&quot;car&quot;,&quot;bus&quot;,&quot;truck&quot;,&quot;motorcycle&quot;,&quot;other&quot;.<br />
  attribute: time - Time of observation.<br />
  attribute: longitude - Longitude of the vehicle.<br />
  attribute: latitude - Latitude of the vehicle.</p>
</blockquote>
  <p>&nbsp;</p>
(See: <a href="sample_config.xml">Sample configuration file</a>) 
</body>
</html>
